*[data-widget^="widget_"] {
  display: none;
}

*[data-widget^="widget_"].on {
  display: block;
}

*[data-widget^="widget_"] * {
  padding: 0;
  margin: 0;
  word-break: break-all;
  word-wrap: break-word;
}

*[data-widget^="widget_"] .widget_mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
}

*[data-widget^="widget_"]:last-of-type .widget_mask {
  display: block;
}

*[data-widget^="widget_"] .widget_wrap {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 260px;
  min-height: 90px;
  margin: -45px -130px;
  background: #ffffff;
  overflow: hidden;
  border-radius: 10px;
}

*[data-widget^="widget_"] .widget_footer {
  /*padding:0 5px;*/
}

*[data-widget^="widget_"] .widget_footer ul {
  /*padding:17px 0;*/
  text-align: center;
  border: 1px solid #b2b2b2;
  border-width: 1px 0 0 0;
  -webkit-border-image: url(../imgs/border_light.gif) 2 stretch;
  display: table;
  width: 100%;
}

*[data-widget^="widget_"] .widget_footer ul li {
  display: table-cell;
}

*[data-widget^="widget_"] .widget_footer ul li:nth-of-type(n+2) {
  border: 1px solid #b2b2b2;
  border-width: 0 0 0 1px;
  -webkit-border-image: url(../imgs/border_light.gif) 2 stretch;
}

*[data-widget^="widget_"] .widget_footer ul li button,
*[data-widget^="widget_"] .widget_footer ul li *[data-button] {
  -webkit-appearance: none;
  display: block;
  padding: 0 10px;
  height: 45px;
  line-height: 45px;
  border-radius: 3px;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 0;
  background: none;
  color: #0c80ff;
  font-size: 18px;
  min-width: 60px;
  width: 100%;
}

/**[data-widget^="widget_"] .widget_footer ul li:nth-last-of-type(n+2) button{
	background:#3e3e3e;
}*/
*[data-widget^="widget_"].on {
  display: block;
}

/****/
*[data-widget="widget_alert"] .widget_body,
*[data-widget="widget_confirm"] .widget_body,
*[data-widget="widget_tip"] .widget_body {
  font-size: 16px;
  color: #000000;
  line-height: 20px;
  padding: 20px 10px;
  text-align: center;
}

/****/
/****/
*[data-widget^="widget_loading"] .widget_wrap {
  border: 0;
  background: none;
  height: 100px;
}

*[data-widget^="widget_loading"] .widget_wrap >div {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 5px;
  background: red;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -40px;
  margin-left: -40px;
  background: rgba(0,0,0,0.0);
}

*[data-widget^="widget_loading"] .widget_wrap >div>span {
  position: absolute;
  left: 50%;
  top: 30px;
  margin-left: -12px;
  z-index: 10;
  width: 24px;
  height: 24px;
  border: 2px solid #237FE5;
  border-radius: 24px;
  -webkit-animation: widget_gif 1s infinite linear;
  clip: rect(0 auto 12px 0);
}

div[data-role=widget].otip .widget_mask {
  background: 0 0
}

div[data-role=widget].otip .widget_wrap {
  min-height: inherit;
  text-align: center;
  background: 0 0;
  margin-top: 0;
  top: 40%
}

div[data-role=widget].otip .widget_body {
  padding: 7px 12px;
  color: #fff;
  white-space: pre-line;
  background: rgba(0,0,0,.6);
  display: inline-block;
  min-width: 100px;
  font-size: 14px;
  min-height: inherit;
  border-radius: 5px
}

@-webkit-keyframes widget_gif {
  0%{-webkit-transform: rotate(0deg);
}

100% {
  -webkit-transform: rotate(360deg);
}

}

*[data-widget="widget_loading"] .widget_mask {
  background: rgba(0,0,0,0);
}

